﻿using DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DianShangHouTai.Models
{
    public class CUserModuleService : BaseService<V_CUserModules>
    {
        public static List<V_CUserModules> GetModuleList(string CUUserName)
        {
            using (ShopContext db = new ShopContext())
            {
                return db.V_CUserModules.Where(p => p.ZhangHao == CUUserName).ToList();
            }
        }
    }
}